package com.example.mq2.network;

import java.io.Serializable;

public class BasicConsumerArguments extends BasicRequest implements Serializable{

    private String consumerTag;
    private String queueName;
    private boolean autoAck;

    //Consumer 这个回调就不用传输了，channel 那边会保存一份

    public String getConsumerTag() {
        return consumerTag;
    }

    public void setConsumerTag(String consumerTag) {
        this.consumerTag = consumerTag;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    public boolean getAutoAck() {
        return autoAck;
    }

    public void setAutoAck(boolean autoAck) {
        this.autoAck = autoAck;
    }
}
